package com.yu.dv.entity;

import lombok.Data;

@Data
public class ColumnInfo {
    private String name;
    private String dataType;
    private int columnSize;
    private int decimalDigits;
    private boolean nullable;
    private String defaultValue;
    private String remarks;

    public ColumnInfo(String name, String dataType, int columnSize, int decimalDigits,
                      boolean nullable, String defaultValue, String remarks) {
        this.name = name;
        this.dataType = dataType;
        this.columnSize = columnSize;
        this.decimalDigits = decimalDigits;
        this.nullable = nullable;
        this.defaultValue = defaultValue;
        this.remarks = remarks;
    }
}
